home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Dots & Pixels
/
headers
/
general.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-29
|
491b
|
19 lines
#pragma once
//
// 941103: made 'report_error_and_exit' and 'CheckForError' static functions
// (i.e. no longer static members of 'general'). Also fixed bug: every instance
// of 'general' did install a new_handler. Now only the first one created does.
//
class general
{
public:
general();
private:
static int new_handler_installed;
};
void report_error_and_exit( const char *message);
void CheckForError( const int errorno, const char *text);
void report_out_of_memory_and_exit();